package com.group.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author group
 * @since 2021-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_user_address")
public class UserAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
      @TableId(value = "addressId", type = IdType.AUTO)
    private Integer addressid;

    /**
     * 用户外键id
     */
    @TableField("userId")
    private Integer userid;

    /**
     * 地址
     */
    @TableField("userAddress")
    private String useraddress;

    /**
     * 联系人姓名
     */
    @TableField("userNameAddress")
    private String usernameaddress;

    /**
     * 联系人电话
     */
    private String phone;

    /**
     * 是否是默认地址（1:是 0否）
     */
    @TableField("addressDefault")
    private Integer addressdefault;

    /**
     * 删除标记
     */
    @TableField("deletedState")
    private Integer deletedstate;

    /**
     * 校区
     */
    private Integer campus;

    /**
     * 校内区域
     */
    private Integer region;


}
